#include "EpollSever.hpp"
#include <string>

int main(int args, char *argv[])
{
    if (args != 2)
    {
        cout << argv[0] << "+" << "port" << endl;
        return 0;
    }
    EnableCout();

    uint16_t port = stoi(argv[1]);
    unique_ptr<EpollSever> svr = make_unique<EpollSever>(port);
    svr->Loop();
}